﻿
namespace RockBus.BufferManager.Interfaces
{
    public interface IBufferManager
    {
        void Clear();

        void ReturnBuffer(byte[] buffer);

        byte[] TakeBuffer(int bufferSize);

        IBufferManagerConfiguration Configuration { get; }
    }
}